home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Text Processing / TeXRef / Examples / TeX / manuscript.tex next >
Encoding:
Text File  |  1993-10-07  |  2.8 KB  |  21 lines  |  [TEXT/ttxt]

  1. \magnification=\magstep1
  2. \font\bit=cmmib10
  3. \font\smalltext=cmr5
  4. \font\sit=cmmi5
  5. \def\lower#1{\vbox{\kern3pt\hbox{#1}\kern-3pt}}
  6. \def\texref{$\;$T\lower{E}XR\lower{E}{\it f}$\;$}
  7. \def\btexref{\bf$\;$T\lower{E}XR\lower{E}{\bit f}$\;$}
  8. \def\stexref{\smalltext$\;$T\lower{E}XR\lower{E}{\sit f}$\;$}
  9. \def\ref#1{$^{#1}$}
  10. \nopagenumbers
  11.  
  12. \centerline{A Stupid {\btexref} Example}
  13. \bigskip
  14. Although very essential to the credibility of any technical paper\ref{23}, citations often become a headache during the writing process\ref{83,41,89,72}. Invevitably, while rewriting an early draft, the author will switch sentences around in a paragraph\ref{83} or parapraphs around in the paper\ref{41}. Very often, this will result in two or more references changing order\ref{89}---thus needing to be renumbered.  This can become quite a headache if one or more of these  references is cited elsewhere in the paper; if it is cited later in the paper, the author must take care to change the reference index wherever it occurs, but if it is cited earlier in the paper, the author must leave its number alone when switching it around\ref{72-74}.  As if this isn't headache enough, anytime a new reference is inserted, all of the ``downsteam'' citations must be renumbered (except those which received their index ``upstream'' of the insertion)\ref{1}. The reference list at the end of the paper must, of course, be updated with each of these changes. If the author makes a mistake on any of these, he must go through the entire paper to resequence the reference indices watching for duplicate citations.  If he errs at this point, the credibility of the entire paper could be called to question.  As is surely evident by now, keeping track of citations can become quite a tedious task.
  15.  
  16. That was then, but this is now\ref{2}---\texref takes away that tedious task. ``It slices, it dices\ref{101-103,666}, it renumbers and sorts your references. Whenever a new reference (not a specifc citation) is introduced to the paper, the author simply assigns it a unique, but 100\% arbitrary number. This number is then used whenever that reference is cited. Once the paper is ``finished,'' or at least ready to be printed (typeset) again, \texref examines the manuscript, looks through the arbitrarily numbered reference list, renumbers the citations sequentially (watching for repeated references), renumbers the reference list appropriately, sorts the reference list, and throws out uncited references. Voila. Still not conviced? Need more proof of what it can do for you? You're soaking in it now\ref{51}. The references {\bf on this very page} were sequence  with \btexref. 
  17.  
  18. \vfill
  19. {\noindent\smalltext *\stexref is not a word processor or editor of any kind. All text must be prepared in another package. \stexref cannot handle formatted text. Manuscript and reference list must appear in separate files.}
  20.  
  21. \eject\end